package com.btshop.goods.pojo;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class Template implements Serializable {
    //ID
    @ApiModelProperty(value = "ID")
    private Long id;

    //模板名称
    @ApiModelProperty(value = "模板名称")
    private String name;

    //规格数量
    @ApiModelProperty(value = "规格数量")
    private Integer specNum;

    //参数数量
    @ApiModelProperty(value = "参数数量")
    private Integer paraNum;

    //创建时间
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    //更新时间
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    //乐观锁版本号
    @ApiModelProperty(value = "乐观锁版本号")
    private Integer optimistic;

    //备注字段
    @ApiModelProperty(value = "备注字段")
    private String remark;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSpecNum() {
        return specNum;
    }

    public void setSpecNum(Integer specNum) {
        this.specNum = specNum;
    }

    public Integer getParaNum() {
        return paraNum;
    }

    public void setParaNum(Integer paraNum) {
        this.paraNum = paraNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getOptimistic() {
        return optimistic;
    }

    public void setOptimistic(Integer optimistic) {
        this.optimistic = optimistic;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", specNum=").append(specNum);
        sb.append(", paraNum=").append(paraNum);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", optimistic=").append(optimistic);
        sb.append(", remark=").append(remark);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}